{template "header.html"}

<link href="{HOME_THEME_PATH}css/home.css" rel="stylesheet" />
<script src="{HOME_THEME_PATH}js/home.js"></script>
<!-- 主体 -->
<div class="blog-body">

    <!-- 这个一般才是真正的主体内容 -->
    <div class="blog-container">

        <div class="blog-main">
            <!-- 网站公告提示 -->
            <div class="home-tips shadow">
                <i style="float:left;line-height:17px;" class="fa fa-volume-up"></i>
                <div class="home-tips-container">

                    <span style="color: {$color}">PHP7CMS企业建站软件程序</span>
                </div>
            </div>
            <!--左边-->
            <div class="blog-main-left">



                <div class="blog-module shadow">
                    <div class="blog-module-title">关于我们</div>
                    <div class="index-div-ul" style="overflow:hidden;height: 200px;">
                        {dr_share_cat_value(6, 'content')}

                    </div>
                </div>

                <div class="blog-module shadow">
                    <div class="blog-module-title">最新资讯</div>
                    <div class="index-div-ul">
                        <ul class="fa-ul blog-module-ul index-ul">
                            {module module=news order=displayorder,updatetime num=16}
                            <li><a href="{$t.url}">{dr_strcut($t.title, 40)}</a></li>
                            {/module}
                        </ul>

                    </div>
                </div>


            </div>
            <!--右边小栏目-->
            <div class="blog-main-right">




                <div class="blog-module shadow">
                    <div class="blog-module-title">站内搜索</div>
                    <div class="blogroll" style="padding: 10px 0">
                        <form method="get" action="/index.php" class="form-horizontal" role="form" >
                            <input type="hidden" name="c" value="search">
                            <div class="input-group">
								<span class="input-group-btn">
									<select name="s" class="form-control input-xsmall" style="margin-right: 10px">
										{cache name=module}
										<option value="{$t.dirname}">{$t.name}</option>
										{/cache}
									</select>
								</span>
                                <input name="keyword" type="text" class="form-control">
                                <span class="input-group-btn">
									<button class="btn blue" type="submit">搜索</button>
								</span>
                            </div>
                        </form>
                    </div>
                </div>

                <div class="blog-module shadow">
                    <div class="blog-module-title">热文排行</div>
                    <ul class="fa-ul blog-module-ul">
                        {module module=news order=hits num=10}
                        <li><i class="fa-li fa fa-hand-o-right"></i><a href="{$t.url}">{dr_strcut($t.title, 35)}</a></li>
                        {/module}
                    </ul>
                </div>

                <div class="blog-module shadow">
                    <div class="blog-module-title">TAG标签</div>
                    <ul class="blogroll">
                        {tag tag=$tag order=rand num=20}
                        <li><a href="{$t.url}">{$t.name}</a></li>
                        {/tag}
                    </ul>
                </div>


            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>

{template "footer.html"}